package pers.cl.dubbo.gateway.annotation;

import org.springframework.context.annotation.Import;
import pers.cl.dubbo.gateway.selector.EnableMVCImportRegistrar;

import java.lang.annotation.*;

/**
 * @author chenlei
 * @date 2020/1/15
 * @description 在springboot启动类上加上该注解则会启动GatewayApplication
 * @see pers.cl.dubbo.gateway.GatewayApplication
 * @see EnableMVCImportRegistrar
 **/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import(value = {EnableMVCImportRegistrar.class})
public @interface EnableMVC {
}
